/*
 * Drawable1DInterface.h
 *
 *  Created on: Jul 1, 2009
 *      Author: kurt
 */

#ifndef DRAWABLE1DINTERFACE_H_
#define DRAWABLE1DINTERFACE_H_

#include "DrawableInterface.h"

namespace objdraw 
{

class Drawable1DInterface: public objdraw::DrawableInterface 
{
	protected:
		Location end;
		virtual ~Drawable1DInterface();
	public:
		Drawable1DInterface();
		Drawable1DInterface(Drawable1DInterface const & r);
		
		virtual Location getEnd();
		virtual Location getStart();
		
		virtual void setEnd(float x, float y);
		virtual void setEnd(Location _end);
		virtual void setEndPoints(float x1, float y1, float x2, float y2);
		virtual void setEndPoints(Location _start, Location _end);
		
		virtual void setStart(float x, float y);
		virtual void setStart(Location _start);
		
		virtual void render();
		virtual std::string toString();
};

}

#endif /* DRAWABLE1DINTERFACE_H_ */
